import Vue from 'vue'
import templet from './template.vue'
import {i18n} from '../../config/locale'
import { Button, Select,Input, Row, Col,Option,TimeSelect,TimePicker,Message,MessageBox} from 'element-ui';

Vue.config.productionTip = false
Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 };
Vue.use(Button)
Vue.use(Row)
Vue.use(Col)
Vue.use(Select)
Vue.use(Input)
Vue.use(Option)
Vue.use(TimeSelect)
Vue.use(TimePicker)

Vue.prototype.$message = Message;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.qiniuDownLoadUrl = 'http://gl.svip51.com/'
Vue.prototype.getStore = (name) => {
    if (!name) return;
    return window.localStorage.getItem(name);
}
new Vue({
  i18n,
  render: h =>{
    return  h(templet)
  }
}).$mount('#app')
